package com.heima.common.exception;

import com.heima.model.common.dtos.ResponseResult;

/**
 * @author feng js
 */
public class CostomException extends RuntimeException {
    private ResponseResult responseResult;

    public CostomException( ResponseResult responseResult) {
        this.responseResult = responseResult;
    }
    public CostomException() {
    }

    public ResponseResult getResponseResult() {
        return responseResult;
    }
}
